import { dialog } from '@gis/lib/components/antd-dialog';

export function openGridTeamPageListDialog(data) {
  dialog({
    content: () => import('./grid-team-list.vue'),
    contentProps: {
      ...data,
    },
    dialogProps: {
      title: '列表',
      footer: null,
      height: 'fixed',
      width: 'medium',
    },
  });
}
export function openGridTeamPeopleDetails(data) {
  dialog({
    content: () => import('./people-detail.vue'),
    contentProps: {
      detail: data,
    },
    dialogProps: {
      title: '详情',
      footer: null,
    },
  });
}
